package com.cqie.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 仓库药品信息
 * </p>
 *
 * @author 不吃海鲜
 * @since 2024-12-19
 */
@Getter
@Setter
@TableName("entrepot_drug_info")
@ApiModel(value = "EntrepotDrugInfo对象", description = "仓库药品信息")
public class EntrepotDrugInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("仓库药品信息id")
    @TableId(value = "entrepot_drug_info_id", type = IdType.AUTO)
    private Integer entrepotDrugInfoId;

    @ApiModelProperty("药品id")
    @TableField("drug_id")
    private Integer drugId;

    @ApiModelProperty("仓库id")
    @TableField("warehouse_id")
    private Integer warehouseId;

    @ApiModelProperty("药品数量")
    @TableField("drug_number")
    private Integer drugNumber;

    @ApiModelProperty("创建时间")
    @TableField("create_time")
    private LocalDateTime createTime;

    @ApiModelProperty("更新时间")
    @TableField("update_time")
    private LocalDateTime updateTime;

    @ApiModelProperty("作废标志")
    @TableField("rm_sign")
    private String rmSign;
}
